//
//  WLDecimalKeyboard.h
//  bestkeep
//
//  Created by TOPTEAM on 2017/2/28.
//  Copyright © 2017年 utouu. All rights reserved.
//


#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol WLDecimalKeyboardDelegate <NSObject>

@optional
#pragma mark-输入小数点
- (void)KeyboardDelegate_clicked_Dot;
#pragma mark-点击删除
- (void)KeyboardDelegate_clicked_Delete;
#pragma mark-点击收回键盘
- (void)KeyboardDelegate_clicked_Dismiss;
#pragma mark-点击确定
- (void)KeyboardDelegate_clicked_Sure;
#pragma mark-输入字符
- (void)KeyboardDelegate_clicked_Decimal:(int)decimal;

@end


@interface WLDecimalKeyboard : UIView

@property (copy, nonatomic, nullable) void (^done)();       /**< 点击确定执行的回调 */
@property (nonatomic) UIColor *tintColor;                   /**< 主色调（针对确定按钮） */
@property(nonatomic,weak) id<WLDecimalKeyboardDelegate>keyboard_Delegate;
- (instancetype)initWithTintColor:(UIColor *)tintColor;

@end

NS_ASSUME_NONNULL_END
